﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Entity
{
    public class rk_role
    {
        /// <summary>
        /// 角色ID 
        /// </summary>
        public string rid { get; set; } = "";
        /// <summary>
        ///  角色名称
        /// </summary>
        public string role_name { get; set; }
        /// <summary>
        /// 添加时间
        /// </summary>
        public DateTime addtime { get; set; }
    } 
    public class rk_role_menu
    {
        /// <summary>
        /// 权限ID
        /// </summary>
        public string rmid { get; set; }
        /// <summary>
        /// 角色ID
        /// </summary>
        public string rid { get; set; }
        /// <summary>
        ///  菜单ID
        /// </summary>
        public string mid { get; set; }
    }

    /// <summary>
    ///  保存权限时提交的模型
    /// </summary>
    public class sys_role_Params
    {
        public sys_role_Params()
        {
            this.role_model = new rk_role();
        }
        public rk_role role_model { get; set; }

        public string[] ids { get; set; }
    }
}
